/**
 * 
 */
package com.tvshows.front.ui.dialog;

import com.tvshows.front.factory.TypeUI;
import com.tvshows.front.ui.FrontUI;
import com.tvshows.front.ui.recap.UpsideCompositeRecapUI;

/**
 * @author tMidy
 */
public interface ActionsUI
    extends FrontUI
{

    String JOB_RUNNING = "Rafraîchissement en cours, pas de suppression ni d'ajout";

    String CONFIGURATION_ERROR = "Problème de configuration majeur !";

    String NO_SOFT_DEFINED = "Aucun logiciel de torrent n'est défini !";

    /**
     * Opens a shell inside the ui
     * 
     * @param view the ui
     */
    void openShell( FrontUI view );

    /**
     * If opened in modify mode
     * 
     * @param modify true if modify
     */
    void setModify( boolean modify );

    /**
     * Opens a menu item
     * 
     * @param view the view to open
     * @param typeUI the type of view
     */
    void openMenuItem( FrontUI view, TypeUI typeUI );

    /**
     * Opens the job running popup
     * 
     * @param view the view to open
     */
    void openJobRunningPopUp( FrontUI view );

    /**
     * Opens the software not found popup
     * 
     * @param upsideUI the view where it is opened
     */
    void openPopUpNoSoftwareFound( UpsideCompositeRecapUI upsideUI );

    /**
     * Opens the configuration problem popup
     * 
     * @param dialogOptionsView the view where it is opened
     */
    void openPopUpConfigurationProblem( DialogUI dialogOptionsView );

}
